package com.yi.mall.api;

import com.yi.mall.common.model.OrderInfo;
import com.yi.mall.common.utils.ResponseEnum;
import com.yi.mall.common.utils.Result;
import org.springframework.stereotype.Component;

//@Component
public class OrderFeignFallback implements OrderFeign {

    @Override
    public Result update(OrderInfo orderInfo) {
        return Result.fail(ResponseEnum.FAIL);
    }

    @Override
    public Result removeById(String id) {
        return Result.fail(ResponseEnum.FAIL);
    }

    @Override
    public Result getById(String id) {
        return Result.fail(ResponseEnum.FAIL);
    }
}
